<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ include file="/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <script type="text/javascript" src="${ctx}/js/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="${ctx}/js/paging.js"></script>
  </head>
  <body>
       <div class="content_bg">
 	 	<div class="rhead">
 	 		<div class="rpos">当前位置:  数据采集 - 任务管理</div>
 	 	</div>
 	   <div class="list">
 		<table>
 			<tr>
 			<th>序号</th>
 			<th>任务名称 <span>[<a href="task_edit.jsp">新建任务</a>]</span></th>
 			<th>任务别名</th>
 			<th>创建时间</th>
 			<th>更新时间</th>
 			<th>采集网址</th>
 			<th>采集内容</th>
 			<th>发布内容</th>
 			<th>操作</th>
 			</tr>
 			<s:iterator value="collectionTasks" status="stat">
 				<tr>
	 			<td><s:property value="#stat.count"/></td>
	 			<td><s:property value="taskName"/></td>
	 			<td><s:property value="taskAlias"/></td>
	 			<td><s:date name="createDate" format="yyyy-MM-dd"/></td>
	 			<td><s:date name="updateDate" format="yyyy-MM-dd"/></td>
	 			<td><input type="checkbox" name="collectionWebsite" value="true"/></td>
	 			<td><input type="checkbox" name="collectionContent" value="true"/></td>
	 			<td><input type="checkbox" name="publishContent" value="true"/></td>
	 			<td>
	 			    <a href="editCollectionTask.do?collectionTask.id=<s:property value="id"/>">编辑</a>|
	 			    <a href="copyEditCollectionTask.do?collectionTask.id=<s:property value="id"/>">复制编辑</a>|
	 			    <a href="deleteCollectionTask.do?collectionTask.id=<s:property value="id"/>" onclick="return confirm('真的要做删除操作吗？');">删除</a>|
	 				<a href="collectionContent.do?collectionTask.id=<s:property value="id"/>" target="showInfo">运行</a>|
	 				<a href="publishContent.do?collectionTask.id=<s:property value="id"/>" target="showInfo">发布</a>
	 			</td>
	 			</tr>
 			</s:iterator>
 		</table>
  	   </div>
  	   
  	   <div class="rhead">
 	 		<div class="paging">
 	 		<s:property value="page.pagingNavigation" escape="false"/>
 	 		</div>
 	 	</div>
  	   
  	   <div class="rhead">
 	 		<iframe name="showInfo" width="100%">
 	 		
 	 		</iframe>
 	 	</div>
 	   </div>
  </body>
</html>



